package com.game.android.Ball;

import java.util.ArrayList;
import java.util.List;

import android.graphics.Canvas;

public class BallManager {
	
	private List<Ball> ballList = new ArrayList<Ball>();
	
	public void addBallToList(Ball ball){
		ballList.add(ball);
	}
	
	public void drawBall(Canvas canvas){
		for(int i=0;i<ballList.size();i++){
			Ball ball = ballList.get(i);
			ball.draw(canvas);
		}
	}
	
}
